package org.apache.rocketmq.console.script.dao;

import java.util.List;

import org.apache.rocketmq.console.script.model.OperationLog;
import org.springframework.data.repository.CrudRepository;

public interface OperationLogDao extends CrudRepository<OperationLog, Integer> {
	@SuppressWarnings("unchecked")
	OperationLog save(OperationLog entity);

	List<OperationLog> findAll();

	// OperationLog findOneByCode(String code);

}
